<!doctype html>
<html lang="zh">

<head>
    <meta charset="utf-8">
    <title>查询</title>
    <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='css/public.css') }}" />
</head>

<body>
    <div class="search">
        <form action="/search" name="formsearch" method="post">
            <input id="q" class="sb" name="keyword" onfocus="if(this.value=='请输入关键词'){this.value='';}else{this.select();}this.style.color='black';" value="请输入关键词" style="color: black;">
            <input class="sc" name="Input" type="submit" value="搜索">
        </form>

    </div>
    <div class="table-one" align="center">
        <table>

            <tr>

                {% for col in column_names %}

                <th>{{col}}</th>

                {% endfor %}

            </tr>

            {% for row in row_data %}

            <tr>

                {% for col, row_ in zip(column_names, row) %} {% if col == link_column %}

                <!-- <td>

                    <button type="submit" value={{ row_ }} name="person_id" form="patient_form" class="patient_button">

                        {{ row_ }}

                    </button>

                </td> -->

                {% else %}

                <td>{{row_}}</td>

                {% endif %} {% endfor %}

            </tr>

            {% endfor %}


        </table>
    </div>
</body>

</html>